﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EntityPet
{
    /// <summary>
    /// 用户会员
    /// </summary>
    public class Pet_Vip:MessageChange
    {
        /// <summary>
        /// 会员id
        /// </summary>
        [Key]
        [Required]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public Guid Id { get; set; }

        /// <summary>
        /// 会员号
        /// </summary>
        [StringLength(20)]
        public string? MemberId { get; set; }

        /// <summary>
        /// 姓名
        /// </summary>
        [StringLength(20)]
        public string? Name { get; set; }

        /// <summary>
        /// 联系电话
        /// </summary>
        [StringLength(50)]
        [Required]
        public string? Phone { get; set; }

        /// <summary>
        /// 注册时间
        /// </summary>
        public DateTime Register { get; set; }

        /// <summary>
        /// 会员等级
        /// </summary>
        [StringLength(50)]
        public string? Membershiplevel { get; set; }
    }
}
